package org.tis.tools.senior.module.developer.entity.enums;

import org.tis.tools.model.enums.BaseEnum;

import java.io.Serializable;

/**
 * description: 申请类型
 *
 * @author lijh
 * @date 2018/9/26
 **/
public enum ApplyType implements BaseEnum {

    DELIVERY("D", "投放申请"),

    SREPEAL("R", "撤销申请");

    private final String value;

    private final String name;

    ApplyType(final String value, final String name) {
        this.value = value;
        this.name = name;
    }


    @Override
    public Serializable deserialze() {
        return value;
    }

    @Override
    public Serializable getValue() {
        return value;
    }

    @Override
    public String toString() {
        return name;
    }
}
